projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2a2908
)
passwordentry: Normalize boolean value
author
Timm Bäder
<mail@baedert.org>
Wed, 24 Jul 2019 06:10:37 +0000
(08:10 +0200)
committer
Timm Bäder
<mail@baedert.org>
Wed, 24 Jul 2019 06:10:37 +0000
(08:10 +0200)
gtk/gtkpasswordentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpasswordentry.c
b/gtk/gtkpasswordentry.c
index 2c6c3553ac6edb77dd995835bcd9d99d3dbbc70d..8515ba2b5c0d66095b34d24c22165fef7745b578 100644
(file)
--- a/
gtk/gtkpasswordentry.c
+++ b/
gtk/gtkpasswordentry.c
@@
-470,6
+470,8
@@
gtk_password_entry_set_show_peek_icon (GtkPasswordEntry *entry,
g_return_if_fail (GTK_IS_PASSWORD_ENTRY (entry));
+ show_peek_icon = !!show_peek_icon;
+
if (show_peek_icon == (priv->peek_icon != NULL))
return;